﻿using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Linq;

namespace Nemerle2.Compiler
{
  /// <summary>
  /// Description of Splicable.
  /// </summary>
  [Record]
  public variant Splicable : PAst
  {
    | Name      { Id      : string;  Context : GlobalEnv; Color : int; }
    | HalfName  { Prefix  : string;  Context : GlobalEnv; Color : int; }
    | Expr      { Code    : PExpr;   Context : GlobalEnv; }
    | Error     { Msg     : Msg;     Context : GlobalEnv; }
  }
}
